import json
import os


def read_cart_json():
    filename = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
    with open(os.path.join(filename, "data", "cart.json"), "r", encoding="utf-8") as f:
        return json.load(f)